<!DOCTYPE html>
<html>
<head>
    <title>File Upload Demo</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="/stylesheets/bootstrap.min.css"/>
    <link rel='stylesheet' href='/stylesheets/style.css'/>
    <script src="/javascripts/jquery-3.1.1.min.js"></script>
    <script src="/javascripts/bootstrap-filestyle.min.js"></script>
    <script src="/javascripts/index.js"></script>
</head>
<body>
<div class="container">
    <h1 class="text-center"><%= title %></h1>
    <form action="/upload" enctype="multipart/form-data" method="post">
        <p>
            <input type="file" name="upload" multiple="multiple" class="filestyle" data-buttonText="选择">
        </p>
        <p>
            <button type="submit" class="btn btn-primary btn-lg btn-block">开始上传</button>
        </p>
    </form>
    <p class="bg-success lead text-center"><%= result %></p>
</div>
</body>
</html>
